@charset "UTF-8";
* {
  padding: 0;
  margin: 0;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

body .head {
  background-color: #fdde4a;
  width: 340px;
  display: flex;
  justify-content: center;
}

body .head input {
  margin-top: 24px;
  width: 300px;
  border-radius: 10px;
  height: 30px;
  line-height: 30px;
  font-size: 12px;
  padding-left: 20px;
  border: none;
}

body .nav {
  background-color: #fdde4a;
  width: 340px;
  display: flex;
  justify-content: center;
}

body .nav .wrap1 {
  width: 340px;
  height: 50px;
  line-height: 50px;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
}

body .nav .wrap1 .recommend {
  width: 60px;
}

body .nav .wrap1 .bannerFont {
  width: 250px;
  height: 50px;
  overflow: hidden;
}

body .nav .wrap1 .bannerFont .swiper-wrapper1 {
  width: 1000px;
  height: 50px;
  line-height: 50px;
}

body .nav .wrap1 .bannerFont .swiper-wrapper1 div {
  text-align: center;
  font-size: 12px;
  color: black;
  background: #fdde4a;
  float: left;
  margin-right: 15px;
  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

body .nav .wrap1 .more {
  width: 22px;
  margin-top: 4px;
}

body .nav .wrap1 .more img {
  width: 22px;
  height: 22px;
}

body .seaction {
  display: flex;
  justify-content: center;
  padding: 20px 0;
}

body .seaction .wrap2 {
  width: 340px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
}

body .seaction .wrap2 div {
  width: 75px;
  height: 72px;
  position: relative;
}

body .seaction .wrap2 div img {
  width: 48px;
  height: 48px;
}

body .seaction .wrap2 div p {
  width: 77px;
}

body .seaction .wrap2 div span {
  position: absolute;
  background-color: crimson;
  color: white;
  border-radius: 5px;
  padding: 0 3px;
  left: 0;
  top: 0;
}

body .banner {
  display: flex;
  justify-content: center;
  height: 280px;
  padding-bottom: 30px;
}

body .banner .wrap3 {
  width: 340px;
  position: relative;
}

body .banner .wrap3 .pictureBG img {
  width: 340px;
  height: 85px;
  border-radius: 5px;
}

body .banner .wrap3 .bannerMain {
  background-color: yellow;
  width: 340px;
  height: 250px;
  position: absolute;
  left: 0;
  top: 40px;
  border-radius: 10px;
  overflow: hidden;
}

body .banner .wrap3 .bannerMain .swiper-wrapper .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

body .banner .wrap3 .bannerMain .swiper-wrapper .swiper-slide img {
  width: 340px;
  height: 250px;
}

body .main {
  display: flex;
  justify-content: center;
  padding-bottom: 50px;
}

body .main .wrap5 {
  width: 340px;
  position: relative;
}

body .main .wrap5 img {
  width: 340px;
  height: 85px;
  border-radius: 5px;
}

body .main .wrap5 .mainHeard {
  position: absolute;
  left: 0;
  top: 60px;
  border-radius: 10px;
  width: 340px;
  display: flex;
  flex-direction: column;
  justify-content: start;
}

body .main .wrap5 .mainHeard .commodity {
  position: relative;
  display: flex;
  justify-content: space-between;
}

body .main .wrap5 .mainHeard .commodity .productImg .imgBig {
  width: 132px;
  height: 132px;
}

body .main .wrap5 .mainHeard .commodity .productImg .num {
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 23px;
  border-radius: 0 0 5px 0;
}

body .main .wrap5 .mainHeard .commodity .productDisc {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 200px;
}

body .main .wrap5 .mainHeard .commodity .productDisc .titleName {
  font-size: 16px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

body .main .wrap5 .mainHeard .commodity .productDisc .titleName span {
  background-color: rosybrown;
  color: red;
  font-size: 12px;
}

body .main .wrap5 .mainHeard .commodity .productDisc .commodityTip img {
  width: 18px;
  height: 8px;
  display: block;
  margin-left: 4px;
}

body .main .wrap5 .mainHeard .commodity .productDisc .commodityTip p {
  width: 138px;
  height: 14px;
  font-size: 12px;
  line-height: 14px;
  text-align: center;
  background: linear-gradient(to right, #fe5704, #fcc080);
  border-radius: 7px;
}

body .main .wrap5 .mainHeard .commodity .productDisc .hot {
  font-size: 12px;
  color: sandybrown;
}

body .main .wrap5 .mainHeard .commodity .productDisc .commodityPrice {
  font-size: 12px;
  color: red;
}

body .main .wrap5 .mainHeard .commodity .productDisc .commodityPrice .theirPrice {
  color: red;
  font-size: 24px;
  font-weight: 700;
}

body .main .wrap5 .mainHeard .commodity .productDisc .commodityPrice .realPrice {
  color: gray;
  text-decoration: line-through;
}

body .main .wrap5 .mainHeard .commodity .productDisc .coupon {
  font-size: 12px;
  display: flex;
  justify-content: space-between;
}

body .main .wrap5 .mainHeard .commodity .productDisc .coupon .ticket {
  border: 1px solid #e04545;
  color: #e04545;
  border-radius: 3px;
}

body .main .wrap5 .mainHeard .commodity .productDisc .coupon .monthlySales {
  color: gray;
}

body .box {
  position: fixed;
  right: 40px;
  bottom: 50px;
  height: 20px;
  width: 30px;
  text-align: center;
  padding-top: 20px;
  background-color: lightblue;
  border-radius: 20%;
  overflow: hidden;
}

body .box:hover:before {
  top: 50%;
}

body .box:hover .box-in {
  visibility: hidden;
}

body .box:before {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translate(-50%, -50%);
  content: '回到顶部';
  width: 40px;
  color: peru;
  font-weight: bold;
}

body .box-in {
  visibility: visible;
  display: inline-block;
  height: 20px;
  width: 20px;
  border: 3px solid black;
  border-color: white transparent transparent white;
  transform: rotate(45deg);
}

body .footer {
  height: 50px;
  width: 340px;
  position: fixed;
  bottom: 0;
  left: 50%;
  margin-left: -170px;
  display: flex;
  justify-content: space-around;
  background-color: #fdde4a;
}

body .footer div {
  display: flex;
  flex-direction: column;
}

body .footer div .iconfont {
  font-size: 30px;
}
